home *** CD-ROM | disk | FTP | other *** search
- Path: raffis.abo.fi!rosterma
- From: rosterma@abo.fi (Ralf ╓stermark)
- Newsgroups: comp.lang.c
- Subject: long double in c vs. fortran
- Date: Mon, 22 Jan 1996 11:48:45
- Organization: Abo Akademi University
- Message-ID: <rosterma.19.000BD067@abo.fi>
- NNTP-Posting-Host: raffis.abo.fi
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
- hi there,
-
- i'm trying to do the following:
- (1) allocate a long double array with malloc -> doesn't work
- (2) load with data
- (3) call an external fortran 77 routine which has a double argument
-
- questions:
-
- (1) how can i allocate long double dynamically ?
- (2) how shall i define long double in fortran 77: long double is 80 bits,
- whereas real*16 in fortran is 128 bits.
-
- thanks.
- Ralf
-